package com.leon.spring_security_oauth2.service;

import com.baomidou.mybatisplus.service.IService;
import com.leon.spring_security_oauth2.entity.SysUser;
import com.leon.spring_security_oauth2.vo.UserVO;

public interface SysUserService extends IService<SysUser> {
    /**
     * 根据用户名查询用户角色信息
     *
     * @param username 用户名
     * @return userVo
     */
    UserVO findUserByUsername(String username);

}
